Skip to content

docs: add shareholders, screener, short-trades, rank, stock-events docs + CLI v0.22.0 release notes#1013

Draft
hogan-yuan wants to merge 5 commits into
mainfrom
feat/shareholders-screener-docs
Draft

docs: add shareholders, screener, short-trades, rank, stock-events docs + CLI v0.22.0 release notes#1013
hogan-yuan wants to merge 5 commits into
mainfrom
feat/shareholders-screener-docs

Conversation

@hogan-yuan
Copy link
Copy Markdown
Member

Summary

SDK documentation and CLI release notes for 13 new APIs. Branch cut from main.

Related SDK PRs: openapi #527, openapi-go #92

New SDK docs (3 locales: zh-CN, zh-HK, en)

FundamentalContext: shareholder_top, shareholder_detail, valuation_comparison

MarketContext: stock_events, rank_categories, rank_list

QuoteContext: short_positions (updated to US+HK unified), short_trades (new)

New ScreenerContext: screener_recommend_strategies, screener_user_strategies, screener_strategy, screener_search, screener_indicators

CLI v0.22.0 release notes

shareholder --top/--object-id, short-trades, compare, top-movers, screener, rank

Test plan

  • autocorrect --lint docs/ — No issues ✅

🤖 Generated with Claude Code

Corrects response examples and schema tables for 8 API endpoints across
en, zh-CN, and zh-HK locales to match live API responses:

- shareholder_top: object_id is string; percent_shares_held includes % sign;
  add percent_shares_changed field; remove non-existent top-level periods array
- shareholder_detail: add name/title/avatar/holding_periods/holding_details/
  trading_periods fields; tradings[] has accum_buy/sell/net_buy at period level
- valuation_comparison: symbol -> counter_id; add currency/roe/eps/bps/dps/
  div_yld/assets fields; history.date is Unix timestamp
- stock_events: stock.symbol -> stock.code; add counter_id/last_done/market/
  logo/trade_status fields; alert_type is integer; next_params is object
- rank_list: add bmp boolean field; symbol -> code; add counter_id/market/
  industry fields; chg is ratio not percentage string
- screener_recommend_strategies: id is string; remove average_day_chg/stocks;
  add group_type; min/max/value are strings; add tech_data field
- screener_strategy: remove top-level id/name (response is groups only);
  add group_type; min/max/value are strings; add tech_data field
- screener_indicators: response is {groups:[]} not {indicators:[]}; replace
  value_min/value_max/step with value_ranges/default_range/default_selected/
  category/description/places/sub_indicators/tech_indicators

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant